package com.yl.service;

import cn.hutool.core.lang.tree.Tree;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yl.model.dto.MenuDTO;
import com.yl.model.entity.MenuEntity;
import com.yl.model.vo.MenuTreeVO;
import com.yl.model.vo.MenuVO;

import java.util.List;

public interface MenuService extends IService<MenuEntity> {

	List<MenuTreeVO> getCurrentUserNav();

	List<Tree<String>> tree();

	MenuEntity saveObj(MenuEntity entity);

	MenuVO updateObj(MenuDTO dto);

	Boolean del(Long id);
}
